package com.fowo.api.datainterface.constants;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * 服务提供者依赖类型
 *
 * @author yl_ls
 */
public enum MappingColTypeKind implements IEnum<String> {
    /**
     * 字段列、固定值、自动列、表达式、其他
     */
    Default("Default", "字段列"),
    Fixed("Fixed", "固定值"),
    Auto("Auto", "自动列"),
    Expression("Expression", "表达式"),
    ReplaceFixed("ReplaceFixed", "替换字符"),
    Sql("Sql", "SQL语句");
    private final String value;
    private final String msg;

    MappingColTypeKind(String value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    @Override
    public String getValue() {
        return value;
    }
}
